\(\int \frac {\sqrt {c-a^2 c x^2}}{\sqrt {\text {arccosh}(a x)}} \, dx\) [404]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [F]
   Fricas [F(-2)]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 24, antiderivative size = 175 \[ \int \frac {\sqrt {c-a^2 c x^2}}{\sqrt {\text {arccosh}(a x)}} \, dx=-\frac {\sqrt {c-a^2 c x^2} \sqrt {\text {arccosh}(a x)}}{a \sqrt {-1+a x} \sqrt {1+a x}}+\frac {\sqrt {\frac {\pi }{2}} \sqrt {c-a^2 c x^2} \text {erf}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{4 a \sqrt {-1+a x} \sqrt {1+a x}}+\frac {\sqrt {\frac {\pi }{2}} \sqrt {c-a^2 c x^2} \text {erfi}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{4 a \sqrt {-1+a x} \sqrt {1+a x}} \]

[Out]

1/8*erf(2^(1/2)*arccosh(a*x)^(1/2))*2^(1/2)*Pi^(1/2)*(-a^2*c*x^2+c)^(1/2)/a/(a*x-1)^(1/2)/(a*x+1)^(1/2)+1/8*er
fi(2^(1/2)*arccosh(a*x)^(1/2))*2^(1/2)*Pi^(1/2)*(-a^2*c*x^2+c)^(1/2)/a/(a*x-1)^(1/2)/(a*x+1)^(1/2)-(-a^2*c*x^2
+c)^(1/2)*arccosh(a*x)^(1/2)/a/(a*x-1)^(1/2)/(a*x+1)^(1/2)

Rubi [A] (verified)

Time = 0.10 (sec) , antiderivative size = 175, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5906, 3393, 3388, 2211, 2235, 2236} \[ \int \frac {\sqrt {c-a^2 c x^2}}{\sqrt {\text {arccosh}(a x)}} \, dx=\frac {\sqrt {\frac {\pi }{2}} \sqrt {c-a^2 c x^2} \text {erf}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{4 a \sqrt {a x-1} \sqrt {a x+1}}+\frac {\sqrt {\frac {\pi }{2}} \sqrt {c-a^2 c x^2} \text {erfi}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{4 a \sqrt {a x-1} \sqrt {a x+1}}-\frac {\sqrt {\text {arccosh}(a x)} \sqrt {c-a^2 c x^2}}{a \sqrt {a x-1} \sqrt {a x+1}} \]

[In]

Int[Sqrt[c - a^2*c*x^2]/Sqrt[ArcCosh[a*x]],x]

[Out]

-((Sqrt[c - a^2*c*x^2]*Sqrt[ArcCosh[a*x]])/(a*Sqrt[-1 + a*x]*Sqrt[1 + a*x])) + (Sqrt[Pi/2]*Sqrt[c - a^2*c*x^2]
*Erf[Sqrt[2]*Sqrt[ArcCosh[a*x]]])/(4*a*Sqrt[-1 + a*x]*Sqrt[1 + a*x]) + (Sqrt[Pi/2]*Sqrt[c - a^2*c*x^2]*Erfi[Sq
rt[2]*Sqrt[ArcCosh[a*x]]])/(4*a*Sqrt[-1 + a*x]*Sqrt[1 + a*x])

Rule 2211

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - c*(
f/d)) + f*g*(x^2/d)), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2235

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erfi[(c + d*x)*Rt[b*Log[F], 2
]]/(2*d*Rt[b*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2236

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erf[(c + d*x)*Rt[(-b)*Log[F],
 2]]/(2*d*Rt[(-b)*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 3388

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/(E^(
I*k*Pi)*E^(I*(e + f*x))), x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*k*Pi)*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d
, e, f, m}, x] && IntegerQ[2*k]

Rule 3393

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)]^(n_), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin
[e + f*x]^n, x], x] /; FreeQ[{c, d, e, f, m}, x] && IGtQ[n, 1] && ( !RationalQ[m] || (GeQ[m, -1] && LtQ[m, 1])
)

Rule 5906

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[(1/(b*c))*Simp[(d
 + e*x^2)^p/((1 + c*x)^p*(-1 + c*x)^p)], Subst[Int[x^n*Sinh[-a/b + x/b]^(2*p + 1), x], x, a + b*ArcCosh[c*x]],
 x] /; FreeQ[{a, b, c, d, e, n}, x] && EqQ[c^2*d + e, 0] && IGtQ[2*p, 0]

Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {c-a^2 c x^2} \text {Subst}\left (\int \frac {\sinh ^2(x)}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{a \sqrt {-1+a x} \sqrt {1+a x}} \\ & = -\frac {\sqrt {c-a^2 c x^2} \text {Subst}\left (\int \left (\frac {1}{2 \sqrt {x}}-\frac {\cosh (2 x)}{2 \sqrt {x}}\right ) \, dx,x,\text {arccosh}(a x)\right )}{a \sqrt {-1+a x} \sqrt {1+a x}} \\ & = -\frac {\sqrt {c-a^2 c x^2} \sqrt {\text {arccosh}(a x)}}{a \sqrt {-1+a x} \sqrt {1+a x}}+\frac {\sqrt {c-a^2 c x^2} \text {Subst}\left (\int \frac {\cosh (2 x)}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{2 a \sqrt {-1+a x} \sqrt {1+a x}} \\ & = -\frac {\sqrt {c-a^2 c x^2} \sqrt {\text {arccosh}(a x)}}{a \sqrt {-1+a x} \sqrt {1+a x}}+\frac {\sqrt {c-a^2 c x^2} \text {Subst}\left (\int \frac {e^{-2 x}}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{4 a \sqrt {-1+a x} \sqrt {1+a x}}+\frac {\sqrt {c-a^2 c x^2} \text {Subst}\left (\int \frac {e^{2 x}}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{4 a \sqrt {-1+a x} \sqrt {1+a x}} \\ & = -\frac {\sqrt {c-a^2 c x^2} \sqrt {\text {arccosh}(a x)}}{a \sqrt {-1+a x} \sqrt {1+a x}}+\frac {\sqrt {c-a^2 c x^2} \text {Subst}\left (\int e^{-2 x^2} \, dx,x,\sqrt {\text {arccosh}(a x)}\right )}{2 a \sqrt {-1+a x} \sqrt {1+a x}}+\frac {\sqrt {c-a^2 c x^2} \text {Subst}\left (\int e^{2 x^2} \, dx,x,\sqrt {\text {arccosh}(a x)}\right )}{2 a \sqrt {-1+a x} \sqrt {1+a x}} \\ & = -\frac {\sqrt {c-a^2 c x^2} \sqrt {\text {arccosh}(a x)}}{a \sqrt {-1+a x} \sqrt {1+a x}}+\frac {\sqrt {\frac {\pi }{2}} \sqrt {c-a^2 c x^2} \text {erf}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{4 a \sqrt {-1+a x} \sqrt {1+a x}}+\frac {\sqrt {\frac {\pi }{2}} \sqrt {c-a^2 c x^2} \text {erfi}\left (\sqrt {2} \sqrt {\text {arccosh}(a x)}\right )}{4 a \sqrt {-1+a x} \sqrt {1+a x}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.14 (sec) , antiderivative size = 114, normalized size of antiderivative = 0.65 \[ \int \frac {\sqrt {c-a^2 c x^2}}{\sqrt {\text {arccosh}(a x)}} \, dx=-\frac {\sqrt {-c (-1+a x) (1+a x)} \left (8 \text {arccosh}(a x)-\sqrt {2} \sqrt {-\text {arccosh}(a x)} \Gamma \left (\frac {1}{2},-2 \text {arccosh}(a x)\right )+\sqrt {2} \sqrt {\text {arccosh}(a x)} \Gamma \left (\frac {1}{2},2 \text {arccosh}(a x)\right )\right )}{8 a \sqrt {\frac {-1+a x}{1+a x}} (1+a x) \sqrt {\text {arccosh}(a x)}} \]

[In]

Integrate[Sqrt[c - a^2*c*x^2]/Sqrt[ArcCosh[a*x]],x]

[Out]

-1/8*(Sqrt[-(c*(-1 + a*x)*(1 + a*x))]*(8*ArcCosh[a*x] - Sqrt[2]*Sqrt[-ArcCosh[a*x]]*Gamma[1/2, -2*ArcCosh[a*x]
] + Sqrt[2]*Sqrt[ArcCosh[a*x]]*Gamma[1/2, 2*ArcCosh[a*x]]))/(a*Sqrt[(-1 + a*x)/(1 + a*x)]*(1 + a*x)*Sqrt[ArcCo
sh[a*x]])

Maple [F]

\[\int \frac {\sqrt {-a^{2} c \,x^{2}+c}}{\sqrt {\operatorname {arccosh}\left (a x \right )}}d x\]

[In]

int((-a^2*c*x^2+c)^(1/2)/arccosh(a*x)^(1/2),x)

[Out]

int((-a^2*c*x^2+c)^(1/2)/arccosh(a*x)^(1/2),x)

Fricas [F(-2)]

Exception generated. \[ \int \frac {\sqrt {c-a^2 c x^2}}{\sqrt {\text {arccosh}(a x)}} \, dx=\text {Exception raised: TypeError} \]

[In]

integrate((-a^2*c*x^2+c)^(1/2)/arccosh(a*x)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

Sympy [F]

\[ \int \frac {\sqrt {c-a^2 c x^2}}{\sqrt {\text {arccosh}(a x)}} \, dx=\int \frac {\sqrt {- c \left (a x - 1\right ) \left (a x + 1\right )}}{\sqrt {\operatorname {acosh}{\left (a x \right )}}}\, dx \]

[In]

integrate((-a**2*c*x**2+c)**(1/2)/acosh(a*x)**(1/2),x)

[Out]

Integral(sqrt(-c*(a*x - 1)*(a*x + 1))/sqrt(acosh(a*x)), x)

Maxima [F]

\[ \int \frac {\sqrt {c-a^2 c x^2}}{\sqrt {\text {arccosh}(a x)}} \, dx=\int { \frac {\sqrt {-a^{2} c x^{2} + c}}{\sqrt {\operatorname {arcosh}\left (a x\right )}} \,d x } \]

[In]

integrate((-a^2*c*x^2+c)^(1/2)/arccosh(a*x)^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(-a^2*c*x^2 + c)/sqrt(arccosh(a*x)), x)

Giac [F]

\[ \int \frac {\sqrt {c-a^2 c x^2}}{\sqrt {\text {arccosh}(a x)}} \, dx=\int { \frac {\sqrt {-a^{2} c x^{2} + c}}{\sqrt {\operatorname {arcosh}\left (a x\right )}} \,d x } \]

[In]

integrate((-a^2*c*x^2+c)^(1/2)/arccosh(a*x)^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(-a^2*c*x^2 + c)/sqrt(arccosh(a*x)), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {\sqrt {c-a^2 c x^2}}{\sqrt {\text {arccosh}(a x)}} \, dx=\int \frac {\sqrt {c-a^2\,c\,x^2}}{\sqrt {\mathrm {acosh}\left (a\,x\right )}} \,d x \]

[In]

int((c - a^2*c*x^2)^(1/2)/acosh(a*x)^(1/2),x)

[Out]

int((c - a^2*c*x^2)^(1/2)/acosh(a*x)^(1/2), x)